home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 April / Disc 2 / PCUSER0402D2.iso / software / utils / files / wincron.exe / data1.cab / Sample_Scripts / proxy_connect.tg < prev    next >
Encoding:
Text File  |  2001-10-20  |  712 b   |  19 lines

  1. ## proxy_connect.tg
  2. ## Connect to the proxy WinCron by opening the port specified in the Windows Registry.
  3. #    If the port is opened without error, handshake is performed to insure we are talking
  4. #    to a valid WinCron
  5. # Assumptions:
  6. # 1. The the Proxy WinCron has been registered as a system service
  7. # 2. The Proxy WinCron has been initialized
  8. # See Also: proxy_initialize.tg
  9. # Note: This routine will also connect to a Proxy running in 'application' mode
  10. #    Application mode is useful for testing your scripts before putting them online.
  11. {
  12.     -name proxy_connect
  13.     -start
  14.     -stop
  15.  
  16.     # connect to the port/socket of the proxy service
  17.     -action -print connecting to the proxy...
  18.     -action -proxy -connect
  19. }